!function(a){function b(){var b=g.getBoundingClientRect().width;a.rem=(b/6.4>100?100:(b/6.4<50?50:b/6.4)),g.style.fontSize=a.rem+"px"}var g=a.document.documentElement,e;a.addEventListener("resize",function(){clearTimeout(e),e=setTimeout(b,300)},!1),a.addEventListener("pageshow",function(a){a.persisted&&(clearTimeout(e),e=setTimeout(b,300))},!1),b()}(window);
window.addEventListener("load",function(){setTimeout(function(){window.scrollTo(0,1);},0);});
$(function(){

});

//弹窗
function showPop(divID){
	var isIe=(document.all)?true:false;
	var screenDiv=document.createElement("div");
	screenDiv.id="screen";
	var styleStr="position:fixed;top:0;left:0;z-index:998;width:100%;height:100%;background-color:#000;";
	styleStr+=(isIe)?"filter:alpha(opacity=80);":"opacity:0.8;";
	screenDiv.style.cssText=styleStr;
	if(!document.getElementById('screen'))
	document.body.appendChild(screenDiv);
	document.getElementById(divID).style.display="block";
}
function closePop(divID){
	if(document.getElementById('screen')!=null)
	{
		document.getElementById('screen').parentNode.removeChild(document.getElementById('screen'));
	}
	document.getElementById(divID).style.display="none";
}